package org.jeecg.modules.demo3.peijian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.demo3.peijian.entity.AxhkPjClq;
import org.jeecg.modules.demo3.peijian.entity.AxhkXpShip;

import java.util.List;
import java.util.Map;


/**
 * @Description: 芯片
 * @Author: jeecg-boot
 * @Date:   2021-04-13
 * @Version: V1.0
 */
public interface AxhkXpShipMapper extends BaseMapper<AxhkXpShip> {

    //计算所有 现有数量 计算所有购买金额
    List<Map<String,Object>> getAxhkXpShip();

    //点击移除 获取id 根据id查询此数据
    AxhkXpShip getSelectAxhkXpShip(String id);

    //点击移除 将此 id下的数据删除
    int getDeleteAxhkXpShip(String id);

    //点击移除 获取数据 进行添加
    int getInsertXpShip(AxhkXpShip axhkXpShip);

    //上传文件
    int getUpdateAxhkXpShip(String id,String path);

}
